
<div id="qq_box_right_2">

<div id="qq_noticle"  class="red_style_1" style="padding-top:5px;">
	<h3><span style="color:#333;">网店公告</span></h3>
     <div class="body">
      
      <div class="notice_ad"><a  href="#" target="_blank"><img src="themes/default/images/red/180.jpg"></a></div>
       <ul class="listStyle new_article">
        	<?php $_from = $this->_var['new_articles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'article');$this->_foreach['new_articles'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['new_articles']['total'] > 0):
    foreach ($_from AS $this->_var['article']):
        $this->_foreach['new_articles']['iteration']++;
?>
      <?php if ($this->_foreach['new_articles']['iteration'] <= 7): ?>
      <li>
        <a href="<?php echo $this->_var['article']['url']; ?>" title="<?php echo htmlspecialchars($this->_var['article']['title']); ?>"><?php echo sub_str($this->_var['article']['short_title'],13); ?></a>
     </li>
      <?php endif; ?>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </ul>
    
    </div>        
</div> 
</div> 

 

 